package com.atguigu.security.service;


import com.atguigu.model.system.SysLoginLog;
import com.atguigu.vo.system.SysLoginLogQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * ClassName LoginLogService
 * Package: com.atguigu.security.service
 * ProjectName guigu-oa-parent
 * Description:
 *
 * @Author: 比特张
 * @Create: 2023/7/1 - 21:36
 * @Version: v1.0
 */
public interface LoginLogService extends IService<SysLoginLog> {
    /**
     * 登录日志
     *
     * @param username
     * @param status
     * @param ipaddr
     * @param message
     */
    void recordLoginLog(String username, Integer status, String ipaddr, String message);


    IPage<SysLoginLog> selectPage(Page<SysLoginLog> pageParam, SysLoginLogQueryVo sysLoginLogQueryVo);
}
